(make_process): Initialize pty_flag to Qnil instead of 0
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 24 Dec 2007 05:25:42 +0000 (05:25 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Mon, 24 Dec 2007 05:25:42 +0000 (05:25 +0000)
as it is not a bit field on Emacs 22 yet.

src/process.c

index adf8af9670d9dd794343d0d9f786a471a3d6e5fc..eb0dae04e964a28b54a2b690654d5c619d34a8be 100644 (file)
@@ -626,7 +626,7 @@ make_process (name)
   XSETFASTINT (p->tick, 0);
   XSETFASTINT (p->update_tick, 0);
   p->pid = 0;
-  p->pty_flag = 0;
+  p->pty_flag = Qnil;
   p->raw_status_new = 0;
   p->status = Qrun;
   p->mark = Fmake_marker ();